package com.wang.auto;

import com.wang.socket.NettySocketServer;
import com.wang.webSocket.NettyWebSocketServer;

public class NettyBooter {

    public void start() {

        new Thread(() -> {
            NettySocketServer socketServer = new NettySocketServer();
            socketServer.start();
        }).start();
        new Thread(() -> {
            NettyWebSocketServer webSocketServer = new NettyWebSocketServer();

            webSocketServer.start();
        }).start();


    }

}
